package com.rc.saas.mini.service.member;

import com.rc.saas.mini.common.base.BaseService;
import com.rc.saas.mini.common.base.DataTResponse;
import com.rc.saas.mini.mapper.member.MemberRefundApplyMapper;
import com.rc.saas.mini.model.member.MemberRefundApply;
import com.rc.saas.mini.model.member.MemberRefundApplyExample;
import com.rc.saas.mini.vo.member.MemberRefundFactVo;

import java.util.List;

/**
 * @Author:
 * @Date:
 * @Description:
 */
public interface MemberRefundApplyService extends BaseService<Long, MemberRefundApply, MemberRefundApplyExample, MemberRefundApplyMapper> {
    void insertByReturnId(MemberRefundApply memberRefundApply);

    List<MemberRefundApply> listByCondition(MemberRefundApply memberRefundApply);

    DataTResponse selectFactAmount(MemberRefundApply memberRefundApply);

    DataTResponse<MemberRefundFactVo> sumFactAmount(MemberRefundApply memberRefundApply);

    List<MemberRefundApply> listByMemberNow(Long memberId);
}
